Multiple lenses system, operation method and electronic device employing the same

ABSTRACT

An operation method of a multiple lenses system applied in an electronic device is provided. The multiple lenses system includes at least one first lens and at least one second lens. The operation method includes: selecting a present capturing mode from a plurality of capturing modes; obtaining a preview image; estimating a focus distance by obtaining a sharpness of an object&#39;s edge in the preview image; determining whether the focus distance crosses a threshold; and switching from the at least one first lens to the at least one second lens or switching from the at least one second lens to the at least one first lens to obtain the preview image if the focus distance crosses the threshold. An electronic device is also provided.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation Application of the U.S. patent application Ser. No. 15/403,190 filed on Jan. 11, 2017, the contents of which are incorporated by reference herein.

FIELD

The subject matter herein generally relates to a multiple lenses system automatically switching lenses and an electronic device employing the multiple lenses system.

BACKGROUND

Electronic devices normally include a camera module for daily photographing. Traditional camera module has only one lens, however, when focusing on macro distances objects, it needs a period of time for switching and may easily go fuzzy, which makes the photographing worse than expected.

BRIEF DESCRIPTION OF THE DRAWINGS

Many aspects of the disclosure can be better understood with reference to the following figures. The components in the figures are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.

FIG. 1 is a block diagram of an exemplary embodiment of a multiple lenses system.

FIG. 2 is a flow chat of an exemplary embodiment of an operation method of the multiple lenses system.

DETAILED DESCRIPTION

It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.

The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series and the like.

FIG. 1 illustrates a multiple lenses system 100 applied in an electronic device. The electronic device can be a mobile phone, a tablet computer and a personal digital assistant (PDA), which has a screen displaying user interface. The multiple lenses system 100 includes a camera module 10, an image sensor 20, a gravity sensor 30, a focus module 40, and a processor 50.

The camera module 10 includes four lenses of different types. In at least one embodiment, the camera module 10 includes at least one macro lens 12 configured to capture images for objects in macro distances. In addition, the camera module 10 further includes three functional lenses, which are a first lens 14, a second lens 16 and a third lens 18. Different lenses or different groups of lenses can achieve different capturing effects. For instance, to capture objects in macro distances, the macro lens 12 is selected; when every two of the first lens 14, the second lens 16 and the third lens 18 are selected, to capture under modes of 3D image, high dynamic range (HDR), low light image quality and high resolution. The camera module 10 includes a focus distance threshold. When a distance between the object and the camera module 10 is smaller than the focus distance threshold, only the macro lens 12 of the camera module 10 can focus on the object clearly.

In other embodiments, the camera module 10 may include more or less lenses in different types. The camera module 10 can also include one or more functional lens.

The image sensor 20 is configured to capture images cooperatively with the camera module 10.

The gravity sensor 30 is configured to detect an orientation angle of the electronic device to adjust a display direction of the screen, and further to switch lenses of the camera module 10 for capturing images. The orientation angle is a degree between a vertical axis of the electronic device and a gravity direction. For instance, when the electronic device is placed in horizontal direction, the orientation angle of the electronic device is 90 degree; when the electronic device is placed in vertical direction, the orientation angle of the electronic device is 0 degree.

The focus module 40 is configured to focus on the object to be captured and obtain a focus distance between the object and the focus module 40. In at least one embodiment, the focus module 40 may obtain the focus distance by at least one of the three follow ways. The first way is laser ranging. The second way is estimating the focus distance by obtaining a sharpness of the object's edge in an image captured by the image sensor 20. The third way is capturing images respectively by two of the lenses of the camera module 10 and obtaining a depth of field, and then estimating the focus distance based on the depth of field.

The processor 50 sets a plurality of capturing modes, for instance, a 3D mode, a HDR mode, a low light image quality mode and a high resolution mode. In at least one embodiment, the processor 50 is configured to select one of the capturing modes and determine the switching to one of the lenses or one group of the lenses according to the capturing modes, the detected focus distance and the orientation angle.

When a group of the lenses is selected for image capturing, due to positions differences of the lenses, the processor 50 needs to cut off redundant parts of the images captured by the group of the lenses and reserve the overlapped part of the images, thus to present a consistent image.

FIG. 2 illustrates an operation method of the multiple lenses system 100. The multiple lenses system 100 includes following blocks:

In block S101, the processor 50 selects a capturing mode. The 3D mode, the HDR mode, the low light image quality mode and the high resolution mode can be selected as a present capturing mode.

In block S102, the focus module 40 obtains a focus distance and transmits to the processor 50.

In block S103, the gravity sensor 30 obtains an orientation angle of the electronic device and transmits the orientation angle to the processor 50.

In block S104, the processor 50 selects a lens or a group of lenses according to the present capturing mode, the detected focus distance and the orientation angle. When the focus distance is smaller than the focus distance threshold, the processor 50 selects the macro lens 12 for macro distance capturing. When the focus distance is larger than the focus distance threshold, the processor 50 selects a lens or a group of lenses according to the present capturing mode and the orientation angle of the electronic device. For instance, when the electronic device is in a vertical state, the processor 50 selects the first lens 14 and the third lens 18 as the group of lenses; when the electronic device is in a horizontal state, the processor 50 selects the second lens 16 and the third lens 18 as the group of lenses. The first lens 14, the second lens 16 and the third lens 18 are three different functional types of lenses. The processor 50 may select a lens or a group of lenses according to the present capturing mode.

In block S105, the image sensor 20 obtains a preview image. The preview image is displayed on the screen of the electronic device and present to the user. In other embodiments, the electronic device may further transmit the preview image to other electronic devices for being displayed by Bluetooth or Wi-Fi technology.

In block S106, the electronic device inquires whether to capture the present preview image via the user interface. User may determine whether to capture the image via an option menu displayed in the user interface. If no operation is input to the user interface, then the electronic device does not capture the image and then goes to block S107; if the user chooses to capture the image and operates via the user interface, the electronic device receives a capturing command from the user and then goes to block S109.

In block S107, the focus module obtains a present focus distance.

In block S108, the processor 50 determines whether the focus distance crosses the focus distance threshold. If the focus distance crosses the focus distance threshold, then goes back to block S104. If the focus distance does not cross the focus distance threshold, then goes back to block S105. Crossing the focus distance threshold means when the present focus distance is smaller than the focus distance threshold and the previous focus distance is greater than the focus distance threshold, or the present focus distance is greater than the focus distance threshold and the previous focus distance is smaller than the focus distance threshold. For instance, if a single lens or a group of lenses is selected from the first lens 14, the second lens 16 and the third lens 18 for capturing, and when the focus distance crosses the focus distance threshold, then goes back to block S104 to switch to the macro lens 12 for capturing. Vice versa, if the macro lens 12 is selected for capturing, and when the focus distance crosses the focus distance threshold, then the flow goes back to block S104 to switch to select a single lens or a group of lenses from the first lens 14, the second lens 16 and the third lens 18 for capturing.

In block S109, the image sensor 20 captures the present image cooperatively with the camera module 10 according to the capturing mode and the orientation angle of the electronic device.

In block S110, the electronic device displays the captured image. The electronic device displays the captured image by the screen, or transmits the captured image to other electronic devices by Bluetooth or Wi-Fi technology.

The multiple lenses system 100 includes a camera module 10 having a plurality of lenses, thus the electronic device may capture images according to selected capturing mode, focus distance and orientation angle of the electronic device to select a lens or a group of lenses, which makes the capturing faster and more accurate.

It is believed that the embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the scope of the disclosure or sacrificing all of its advantages, the examples hereinbefore described merely being illustrative embodiments of the disclosure. 

What is claimed is:
 1. An operation method of a multiple lenses system applied in an electronic device, the multiple lenses system comprising at least one first lens and at least one second lens, the operation method comprising: selecting a present capturing mode from a plurality of capturing modes; obtaining a preview image; estimating a focus distance by obtaining a sharpness of an object's edge in the preview image; determining whether the focus distance crosses a threshold; and switching from the at least one first lens to the at least one second lens or switching from the at least one second lens to the at least one first lens to obtain the preview image if the focus distance crosses the threshold.
 2. The operation method as claimed in claim 1, further comprising: selecting the at least one first lens or the at least one second lens to obtain the preview image according to the focus distance.
 3. The operation method as claimed in claim 2, further comprising: selecting the at least one first lens for obtaining the preview image if the focus distance is smaller than the threshold; and selecting the at least one second lens for obtaining the preview image if the focus distance is greater than the threshold.
 4. The operation method as claimed in claim 1, further comprising: selecting the at least one first lens or the at least one second lens to obtain the preview image according to the present capturing mode and the focus distance.
 5. The operation method as claimed in claim 4, further comprising: selecting the at least one first lens for obtaining the preview image if the focus distance is smaller than the threshold; and selecting the at least one second lens for obtaining the preview image if the focus distance is greater than the threshold.
 6. The operation method as claimed in claim 4, further comprising: obtaining an orientation angle of the electronic device; and selecting the at least one first lens or the at least one second lens to obtain the preview image according to the present capturing mode, the focus distance and the orientation angle of the electronic device.
 7. The operation method as claimed in claim 1, further comprising: determining whether to capture the preview image via an user interface; if it is determined not to capture the preview image, estimating the focus distance by obtaining the sharpness of the object's edge in the preview image; and if it is determined to capture the preview image, capturing the preview image according to the present capturing mode.
 8. The operation method as claimed in claim 7, further comprising: displaying the captured preview image; and transmitting the captured preview image to another electronic device by Bluetooth or Wi-Fi technology.
 9. The operation method as claimed in claim 1, wherein the capturing mode is a high dynamic range (HDR) mode, a low light image quality mode or a high resolution mode.
 10. An electronic device, comprising: at least one first lens; at least one second lens; an image sensor, the image sensor configured to capture a preview image cooperatively with the at least one first lens or the at least one second lens; and a processor, the processor configured to select a present capturing mode from a plurality of capturing modes; estimate a focus distance by obtaining a sharpness of an object's edge in the preview image; determine whether the focus distance crosses a threshold; and switch from the at least one first lens to the at least one second lens or switch from the at least one second lens to the at least one first lens to obtain the preview image if the focus distance crosses the threshold.
 11. The electronic device as claimed in claim 10, wherein the processor is configured to select the at least one first lens or the at least one second lens to obtain the preview image according to the focus distance.
 12. The electronic device as claimed in claim 11, wherein the processor is configured to select the at least one first lens for obtaining the preview image if the focus distance is smaller than the threshold; and select the at least one second lens for obtaining the preview image if the focus distance is greater than the threshold.
 13. The electronic device as claimed in claim 10, wherein the processor is configured to select the at least one first lens or the at least one second lens to obtain the preview image according to the present capturing mode and the focus distance.
 14. The electronic device as claimed in claim 13, wherein the processor is configured to select the at least one first lens for obtaining the preview image if the focus distance is smaller than the threshold; and select the at least one second lens for obtaining the preview image if the focus distance is greater than the threshold.
 15. The electronic device as claimed in claim 13, further comprising a gravity sensor, wherein the gravity sensor is configured to obtain an orientation angle of the electronic device; the processor is configured to select the at least one first lens or the at least one second lens to obtain the preview image according to the present capturing mode, the focus distance and the orientation angle of the electronic device.
 16. The electronic device as claimed in claim 10, wherein the processor is configured to determine whether to capture the preview image via an user interface; estimate the focus distance by obtaining the sharpness of the object's edge in the preview image if it is determined not to capture the preview image; and capture the preview image according to the present capturing mode if it is determined to capture the preview image.
 17. The electronic device as claimed in claim 16, further comprising a screen, wherein the screen is configured to display the user interface and the captured preview image; the processor is configured to transmit the captured preview image to another electronic device by Bluetooth or Wi-Fi technology.
 18. The electronic device as claimed in claim 10, wherein the capturing mode is a high dynamic range (HDR) mode, a low light image quality mode or a high resolution mode. 